package com.qmctl.rest.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import org.hibernate.annotations.Type;
@SuppressWarnings("serial")
@Entity
@Table(name = "t_request_msg", schema = "")
public class RequestMsgEntity  implements Serializable{

	private String method;
	private String format;
	private String app_key;
	private String sign;
	private String sign_method;
	private String customerId;
	private String recvtime; 
	private String handletime;
	private String msghandleResult;
	private String msghandleflag;
	private String requestData;
	private String v;
	private String timestamp;
	private String msg;
	@Id 
	private String id;
	
	@Column(name ="id")
	public String getId(){
		return this.id;
	}
	public void setId(String seqId){
		id = seqId;
	}
	@Column(name ="method",nullable=false,length=30)
	public java.lang.String getMethod(){
		return this.method;
	}

	public void setMethod(String method){
		this.method = method;
	}	

	@Column(name ="format",nullable=false,length=30)
	public String getFormat(){
		return this.format;
	}

	public void setFormat(String format){
		this.format = format;
	}	

	@Column(name ="app_key",nullable=false,length=30)
	public String getApp_key(){
		return this.app_key;
	}

	public void setApp_key(String app_key){
		this.app_key = app_key;
	}	

	@Column(name ="Sign_method",nullable=false,length=30)
	public java.lang.String getSign_method(){
		return this.sign_method;
	}

	public void setSign_method(String sign_method){
		this.sign_method = sign_method;
	}
	@Column(name ="sign",nullable=false,length=30)
	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}
	@Column(name ="customerid",nullable=false,length=30)
	public String getCustomerid() {
		return customerId;
	}

	public void setCustomerid(String customerid) {
		this.customerId = customerid;
	}
	public String getRecvtime() {
		return recvtime;
	}
	public void setRecvtime(String recvtime) {
		this.recvtime = recvtime;
	}
	public String getHandletime() {
		return handletime;
	}
	public void setHandletime(String handletime) {
		this.handletime = handletime;
	}
	public String getMsghandleResult() {
		return msghandleResult;
	}
	public void setMsghandleResult(String msghandleResult) {
		this.msghandleResult = msghandleResult;
	}
	public String getMsghandleflag() {
		return msghandleflag;
	}
	public void setMsghandleflag(String msghandleflag) {
		this.msghandleflag = msghandleflag;
	}
	@Lob
	public String getRequestData() {
		return requestData;
	}
	public void setRequestData(String requestData) {
		this.requestData = requestData;
	}
	public String getV() {
		return v;
	}
	public void setV(String v) {
		this.v = v;
	}
	public String getCustomerId() {
		return customerId;
	}
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}	
}
